package com.yz.test.parking.http;
public enum RequestTypeEnum {
    POST,
    GET;

    private RequestTypeEnum() {
    }

    public static RequestTypeEnum valueOfEnum(String type) {
        if (type.equalsIgnoreCase("post")) {
            return POST;
        } else {
            return type.equalsIgnoreCase("get") ? GET : GET;
        }
    }
}
